3 // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
5 // NOTE: Do not modify the contents of this file. If this class is regenerated by
6 // Microsoft Visual C++, your modifications will be overwritten.
8 /////////////////////////////////////////////////////////////////////////////
9 // CMFCActiveXCtrl wrapper class
11 class CMFCActiveXCtrl
: public CWnd
14 DECLARE_DYNCREATE(CMFCActiveXCtrl
)
16 CLSID
const& GetClsid()
18 static CLSID
const clsid
19 = { 0xE389AD6C, 0x4FB6, 0x47AF, { 0xB0, 0x3A, 0xA5, 0xA5, 0xC6, 0xB2, 0xB8, 0x20 } };
22 virtual BOOL
Create(LPCTSTR lpszClassName
, LPCTSTR lpszWindowName
, DWORD dwStyle
,
23 const RECT
& rect
, CWnd
* pParentWnd
, UINT nID
,
24 CCreateContext
* pContext
= NULL
)
26 return CreateControl(GetClsid(), lpszWindowName
, dwStyle
, rect
, pParentWnd
, nID
);
29 BOOL
Create(LPCTSTR lpszWindowName
, DWORD dwStyle
, const RECT
& rect
, CWnd
* pParentWnd
,
30 UINT nID
, CFile
* pPersist
= NULL
, BOOL bStorage
= FALSE
,
31 BSTR bstrLicKey
= NULL
)
33 return CreateControl(GetClsid(), lpszWindowName
, dwStyle
, rect
, pParentWnd
, nID
,
34 pPersist
, bStorage
, bstrLicKey
);
52 InvokeHelper(0x1, DISPATCH_METHOD
, VT_BSTR
, (void*)&result
, NULL
);
59 float GetFloatProperty()
62 GetProperty(0x2, VT_R4
, (void*)&result
);
65 void SetFloatProperty(float propVal
)
67 SetProperty(0x2, VT_R4
, propVal
);